/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.iftk.xmlparser.domain;

import java.util.ArrayList;
import java.util.List;

/**
 *
 * @author Tomi
 */
public class Events extends BubbleItem {
    private List<DepartmentEvent> events;
    
    public Events() {
        events = new ArrayList();
        setBubbleTitle("Events");
        setBubbleShort("Department events");        
    }
    
    public void add(DepartmentEvent event) {
        events.add(event);
    }

    public List<DepartmentEvent> getEvents() {
        return events;
    }

    public void setEvents(List<DepartmentEvent> events) {
        this.events = events;
    }
    
}
